namespace MvcApplication2.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class InitialCreate : DbMigration
    {
        public override void Up()
        {
            DropForeignKey("dbo.BuildItems", "BuildItem_BuildItemId", "dbo.BuildItems");
            DropIndex("dbo.BuildItems", new[] { "BuildItem_BuildItemId" });
            DropColumn("dbo.BuildItems", "BuildItem_BuildItemId");
        }
        
        public override void Down()
        {
            AddColumn("dbo.BuildItems", "BuildItem_BuildItemId", c => c.Int());
            CreateIndex("dbo.BuildItems", "BuildItem_BuildItemId");
            AddForeignKey("dbo.BuildItems", "BuildItem_BuildItemId", "dbo.BuildItems", "BuildItemId");
        }
    }
}
